<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>任务</title>
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/header.css" />
    <link rel="stylesheet" type="text/css" href="css/home_task_con.css" />
</head>

<body>
    <div id="app" v-cloak>
        <div class="aui-content task">
            <div class="aui_formbox">
                <div class="aui_formitem">
                    <div class="aui_formtitle">
                        资源位置
                    </div>
                    <div class="aui_formcontent">
                        {{form.fullname}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">
                        联系人
                    </div>
                    <div class="aui_formcontent">
                        {{form.customername}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">
                        联系方式
                    </div>
                    <div class="aui_formcontent">
                        {{form.customerphone}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">
                        内容描述
                    </div>
                    <div class="aui_formcontent">
                        {{form.content}}
                        <div v-if="form.imagelist.length>0" class="task_con_image">
                            <img v-for="item in task_imgList" v-on:click="img_browser(item)" v-bind:src="item.imgurl" />
                        </div>
                    </div>
                </div>
            </div>
            <div class="blacklineH"></div>
            <!-- con begin-->
            <div class="task_process">
                <div class="task_process_title border-btnline">任务进程
                    <div class="righticon">
                        <span v-on:click="do_open_fee()" v-if="form.TotalCost>0">￥{{form.TotalCost.toFixed(2)}}</span>
                        <span v-on:click="do_open_product()" v-if="form.TotalCount>0">领料</span>
                    </div>
                </div>
                <div class="cl"></div>
                <div class="task_process_con">
                    <!-- 处理记录 -->
                    <div v-for="item in form.processlist" class="handle">
                        <div class="task_process_basic_title">
                            <div class="task_process_basic_title_name fl">
                                <div class="fl">{{item.title}}</div><span v-if="item.cost">￥{{item.cost}}</span>
                                <div class="cl"></div>
                            </div>
                            <div class="handle_con_name fl">
                                {{item.username}}
                                <span v-if="item.phonenumber" v-on:click="tel_phone(item)" class="ColorBlue">({{item.phonenumber}})</span>
                            </div>
                            <div class="task_process_basic_title_time ccc fr">{{item.processtime}}</div>
                            <div class="cl"></div>
                        </div>
                        <div class="handle_con">
                            <div class="handle_con_msg">
                                {{item.content}}
                            </div>
                            <div class="handle_img_list">
                                <div class="task_con_image">
                                    <img v-for="item2 in item.imgList" v-on:click="img_browser(item2)" v-bind:src="item2.imgurl" />
                                    <div class="cl"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="hide_height"></div>
                </div>
                <div style="height:4rem;"></div>
            </div>
            <!-- con end-->
            <div v-if="form.canoperaiton && !isviewdetail" class="function top-line">
                <div class="function_btn_list">
                    <div v-if="form.cangrab" v-on:click="do_grab()" class="function_btn">
                        抢单
                    </div>
                    <div v-if="form.canpublish" v-on:click="do_canpublish()" class="function_btn">
                        派单
                    </div>
                    <div v-if="form.canaccpet" v-on:click="do_accpet()" class="function_btn">
                        接受
                    </div>
                    <div v-if="form.canprocess" v-on:click="do_complete()" class="function_btn">
                        处理
                    </div>
                    <!-- <div v-if="form.cancomplete" v-on:click="do_complete()" class="function_btn">
                      办结
                    </div> -->
                    <div v-if="form.canxietong" v-on:click="open_xietong()" class="function_btn">
                        协同
                    </div>
                    <!-- <div v-if="form.cantransfer" v-on:click="open_transfer()" class="function_btn">
                      转交
                    </div> -->
                    <div v-if="form.canreturnback" v-on:click="do_returnback()" class="function_btn">
                        回退
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vue.js "></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-tab.js"></script>
<script type="text/javascript" src="../script/aui-slide.js"></script>
<script type="text/javascript" src="../script/aui-popup.js"></script>
<script type="text/javascript " src="js/home_task_con.js "></script>

</html>
